package com.hk.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 教师实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    private Integer id; //ID
    private String username; //教师姓名
    private String gender ; // 性别
    private String faculty; //学院名称
    @JsonProperty("eMail")
    private String eMail; //电子邮箱
    private String phone; //电话
    @JsonProperty("empId")
    private String empId; // 教师编号
    private LocalDateTime createTime; //创建时间
    private  LocalDateTime updateTime; //更新时间
    /**
     * 密码
     */
    private String password;
    private String Role; //角色信息
}
